package com.guagua.chat.photo;

import com.guagua.chat.room.HtmlRegexpUtil;

/**
 * 北京八度互联科技有限公司版权所有
 * Copyright (C) Badu Corporation. All Rights Reserved
 */
public class Photo {
	
	private long id;//图片ID
	private int photo_type_id;//照片类型ID
	private int size_id;//照片尺寸ID
	private String photo_name;//照片名字
	private String photo_path;//照片URL地址
	private long creator;//记录添加人.保留字段。
	private long create_time;//照片创建时间
	private long audit_time;//审核时间
	private long auditor;//审核人
	private String reject_reson;//审核失败时，驳回理由.
	private int status;//状态。0 未审核； 1 有效；2 审核不通过；3删除;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public int getPhoto_type_id() {
		return photo_type_id;
	}
	public void setPhoto_type_id(int photo_type_id) {
		this.photo_type_id = photo_type_id;
	}
	public int getSize_id() {
		return size_id;
	}
	public void setSize_id(int size_id) {
		this.size_id = size_id;
	}
	public String getPhoto_name() {
		return photo_name;
	}
	public void setPhoto_name(String photo_name) {
		this.photo_name = HtmlRegexpUtil.replaceTag(photo_name);
	}
	public String getPhoto_path() {
		return photo_path;
	}
	public void setPhoto_path(String photo_path) {
		this.photo_path = photo_path;
	}
	public long getCreator() {
		return creator;
	}
	public void setCreator(long creator) {
		this.creator = creator;
	}
	public long getCreate_time() {
		return create_time;
	}
	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}
	public long getAudit_time() {
		return audit_time;
	}
	public void setAudit_time(long audit_time) {
		this.audit_time = audit_time;
	}
	public long getAuditor() {
		return auditor;
	}
	public void setAuditor(long auditor) {
		this.auditor = auditor;
	}
	public String getReject_reson() {
		return reject_reson;
	}
	public void setReject_reson(String reject_reson) {
		this.reject_reson = reject_reson;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	
	

}
